package com.ds.example.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
//import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "测试接口")
@RestController
@RequestMapping("/admin/wechat/index")
public class TestController {

//    @PreAuthorize("hasAuthority('bnt.sysRole.list')")
    @ApiOperation(value = "测试")
    @GetMapping("/ccc")
    public String ceshi(){

        return "ccc";
    }

}
